package com.syf.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.syf.domain.SysUser;

/**
*
*
*@author 苏耀奋
*@create 2021-07-11 12:11
*/
public interface SysUserService extends IService<SysUser>{

        /**
         * 查询员工信息
         * @param page
         * @param mobile
         * @param fullname
         * @return
         */
        Page<SysUser> findByPage(Page<SysUser> page, String mobile, String fullname);

        /**
         * 新增员工
         * @param sysUser
         * @return
         */
        boolean addUser(SysUser sysUser);

        /**
         * 修改员工
         * @param sysUser
         * @return
         */
        boolean updataUser(SysUser sysUser);
    }
